﻿using System;
namespace MyWeb.Common
{
    public class MessageBox
    {
        private MessageBox()
        {

        }

        public static bool Show(string Message)
        {
            string strMessage = string.Format("<script type=\"text/javascript\">alert(\"{0}\")</script>", Message);
            System.Web.HttpContext.Current.Response.Write(strMessage);
            return true;
        }
    }

} 
